| plot_rmd_snakemake |
1 |
- docs/html/plot_rmd_snakemake.html
|
|
|
|
| plot_rmd_shell |
1 |
- docs/html/plot_rmd_shell.html
- docs/png/plot_rmd_shell.png
|
|
|
| R -e 'wd = getwd(); rmarkdown::render( "{input[0]}", output_file = normalizePath( paste0( wd,"/" ,"{output[0]}" ) ), params = list(input = "{input[1]}", output = "{output[1]}" ), knit_root_dir = getwd(), envir = new.env() )'
|
|
| plot_nb_2_html |
1 |
- docs/html/plot_jup_nb.html
|
|
|
| jupyter nbconvert --to html {input} --output ../../../{output}
|
|
| load_dataset |
1 |
- data/out/feather/data.feather
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12 | import seaborn as sns
import pandas as pd
import yaml
with open(snakemake.config["config_files"]["exec"], 'r') as f:
params = yaml.safe_load(f)
df = sns.load_dataset(params['dataset'])
df.to_feather(snakemake.output[0])
print('load finished')
|
|
| plot_execute_nb_plot |
1 |
- src/nb/executed/plot.ipynb
|
|
|
| python -c 'import papermill as pm; pm.execute_notebook( "{input[0]}" , "{output[0]}" , parameters = dict( input = "{input[1]}") )'
|
|